package cn.swing.his.pojo.affair.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.sql.Date;

@Data
public class MedicineDetailsDTO {
    private Integer id;
    private String type;
    private String name;
    private String manufacturer;
    private Double purchasePrice;
    private Double salePrice;
    private String batchNumber;
    private String description;
    private Integer stock;
    private String position;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date productionTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date expirationTime;
}
